#include <stdio.h>
#include <string.h>

int main() {
  char *a = "abcdef";
  char b = 'i';
  char *p = strchr(a, b);
  if (p != NULL) {
    puts(p);
  } else {
    printf("没找到\n");
  }
}